package cn.kshost.zqyg.manager.mapper;

import cn.kshost.zqyg.model.dto.product.CategoryBrandDto;
import cn.kshost.zqyg.model.entity.product.Brand;
import cn.kshost.zqyg.model.entity.product.CategoryBrand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface BrandCategoryMapper {
    List<CategoryBrand> selectBrandCategory(CategoryBrandDto categoryBrandDto);

    void insertBrandCategory(CategoryBrandDto categoryBrandDto);

    void updateBrandCategory(CategoryBrandDto categoryBrandDto);

    void deleteCategoryBrand(CategoryBrandDto categoryBrandDto);

    List<Brand> selectBrandListByCategoryId(int categoryId);
}
